package com.smartleanx.module.hrm.dal.mysql.employee;

import com.smartleanx.framework.common.pojo.PageResult;
import com.smartleanx.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.smartleanx.framework.mybatis.core.mapper.BaseMapperX;
import com.smartleanx.module.hrm.dal.dataobject.employee.EmployeeGrowthRecordDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 员工成长轨迹 Mapper
 *
 * @author tengcj
 */
@Mapper
public interface EmployeeGrowthRecordMapper extends BaseMapperX<EmployeeGrowthRecordDO> {

    default List<EmployeeGrowthRecordDO> selectListByEmployeeId(Long employeeId) {
        return selectList(EmployeeGrowthRecordDO::getEmployeeId, employeeId);
    }

}